package com.rockcent.mall.lib.dto;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Created by zhangjh on 2016/12/30.
 */
public class IntegrationCouponRespDto {

    /**
     *
     */
    private Long id;

    /**
     * 面值(抵用券)
     */
    private BigDecimal faceValue;

    /**
     * 最低消费金额
     */
    private BigDecimal limitAmount;

    /**
     * 库存
     */
    private Long counts;

    /**
     * 有效期开始时间
     */
    private Date dateEnabled;

    /**
     * 有效期结束时间
     */
    private Date dateDisabled;

    /**
     * 兑换码
     */
    private String exchangeCode;

    /**
     * 标志码
     */
    private String flagCode;

    private List<IntegrationCouponDetailRespDto> exchangeCodes;

    public BigDecimal getFaceValue() {
        return faceValue;
    }

    public void setFaceValue(BigDecimal faceValue) {
        this.faceValue = faceValue;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public BigDecimal getLimitAmount() {
        return limitAmount;
    }

    public void setLimitAmount(BigDecimal limitAmount) {
        this.limitAmount = limitAmount;
    }

    public List<IntegrationCouponDetailRespDto> getExchangeCodes() {
        return exchangeCodes;
    }

    public void setExchangeCodes(List<IntegrationCouponDetailRespDto> exchangeCodes) {
        this.exchangeCodes = exchangeCodes;
    }

    public Long getCounts() {
        return counts;
    }

    public void setCounts(Long counts) {
        this.counts = counts;
    }

    public Date getDateEnabled() {
        return dateEnabled;
    }

    public void setDateEnabled(Date dateEnabled) {
        this.dateEnabled = dateEnabled;
    }

    public Date getDateDisabled() {
        return dateDisabled;
    }

    public void setDateDisabled(Date dateDisabled) {
        this.dateDisabled = dateDisabled;
    }

    public String getExchangeCode() {
        return exchangeCode;
    }

    public void setExchangeCode(String exchangeCode) {
        this.exchangeCode = exchangeCode;
    }

    public String getFlagCode() {
        return flagCode;
    }

    public void setFlagCode(String flagCode) {
        this.flagCode = flagCode;
    }

    @Override
    public String toString() {
        return "IntegrationCouponRespDto{" +
                "id=" + id +
                ", faceValue=" + faceValue +
                ", limitAmount=" + limitAmount +
                ", dateEnabled=" + dateEnabled +
                ", dateDisabled=" + dateDisabled +
                ", exchangeCode='" + exchangeCode + '\'' +
                ", flagCode='" + flagCode + '\'' +
                '}';
    }
//    @Override
//    public String toString() {
//        return "IntegrationCouponRespDto{" +
//                "id=" + id +
//                ", faceValue=" + faceValue +
//                ", limitAmount=" + limitAmount +
//                ", counts=" + counts +
//                ", dateEnabled=" + dateEnabled +
//                ", dateDisabled=" + dateDisabled +
//                ", exchangeCodes=" + exchangeCodes +
//                '}';
//    }
}
